< Prev(J) / Next(K) > / View :

Filename: /text/swriter/guide/hidden_text.xhp

(bookmark: bm_id3148856)
text; hiding
sections;hiding
paragraphs;hiding
hiding;text, with conditions
variables;for hiding text

テキスト; 非表示
セクション; 非表示
段落; 非表示
非表示; テキスト、条件付き
変数; 非表示テキストに使う

(variable: hidden_text)Hiding Text
(variable: hidden_text)隠しテキスト(hd_id3148856.1)

You can use fields and sections to hide or display text in your document if a condition is met.
フィールドやセクションを使用すると、指定条件への一致状況に応じて、ドキュメント上のテキストの非表示と表示を切り換えることができます。(par_id3150103.2)

Before you can hide text, you must first create a variable to use in the condition for hiding the text.
テキストを非表示にするには、最初に条件判定用の変数を作成しておく必要があります。(par_id3153409.19)

To Create a Variable
変数を作成する(hd_id5174108.)

  1. Click in your document and choose Insert - Fields - Other.
    ドキュメント上でカーソルを移動して、メニュー 挿入 → フィールド → その他 を選択します。(par_id3153131.20)

  2. Click the Variables tab and click "Set Variable" in the Type list.
    変数」タブをクリックして、「フィールドタイプ」リストの「変数の設定」をクリックします。(par_id3149640.21)

  3. Click "General" in the Format list.
    書式」リストで「Standard」をクリックします。(par_id3149970.22)

  4. Type a name for the variable in the Name box, for example, Hide.
    名前ボックスに変数の名前を入力します。たとえば、Hide です。(par_id3149620.23)

  5. Enter a value for the variable in the Value box, for example, 1.
    ボックスに変数の値を入力します。たとえば、1 です。(par_id3149869.24)

  6. To hide the variable in your document, select Invisible.
    ドキュメント上で変数を非表示にするには、非表示 をオンにします。(par_id3145108.25)

  7. Click Insert and Close.
    挿入 をクリックして、閉じる をクリックします。挿入閉じるをクリックします。(par_id3149585.26)

To Hide Text
テキストを非表示にする(hd_id3156245.27)

  1. Click in the document where you want to add the text.
    ドキュメント上で、テキストを追加する位置にカーソルを移動します。(par_id3145391.28)

  2. Choose Insert - Fields - Other and click the Functions tab.
    メニュー 挿入 → フィールド → その他 を選択して、機能 タブをクリックします。(par_id3145409.5)

  3. Click "Hidden Text" in the Type list.
    フィールドタイプ」で、「隠しテキスト」をクリックします。(par_id3155325.29)

  4. Enter a statement in the Condition box. For example, using the variable you previously defined, enter Hide==1.
    条件に条件式を入力します。たとえば、先に定義した変数を使うなら Hide==1 となります。(par_id3154404.30)

  5. Type the text that you want to hide in the Hidden text box.
    ボックス 隠しテキスト に、非表示とするテキストを入力します。(par_id3153371.31)

  6. Click Insert and Close.
    挿入 をクリックして、閉じる をクリックします。挿入閉じるをクリックします。(par_id3154233.32)

To Hide a Paragraph
段落を非表示にする(hd_id3154256.33)

  1. Click in the paragraph where you want to add the text.
    テキストを追加する段落内をクリックします。(par_id3154853.34)

  2. Choose Insert - Fields - Other and click the Functions tab.
    メニュー 挿入 → フィールド → その他 を選択して、機能 タブをクリックします。(par_id3154872.35)

  3. Click "Hidden Paragraph" in the Type list.
    フィールドタイプ」リストで、「隠し段落」をクリックします。(par_id3155902.6)

  4. Enter a statement in the Condition box. For example, using the variable you previously defined, enter Hide==1.
    条件ボックスに条件式を入力します。たとえば、先に定義した変数を使うなら Hide==1 となります。(par_id3155947.36)

  5. Click Insert and Close.
    挿入 をクリックして、閉じる をクリックします。挿入閉じるをクリックします。(par_id3149991.37)

Note Icon 注マーク You must enable this feature by removing the check mark from menu View - Hidden Paragraphs. When the check mark is set, you cannot hide any paragraph.
この機能を有効にするには、メニュー 表示 → 隠し段落 からチェックマークを削除する必要があります。 チェックマークが付いていると、どの段落も隠すことができません。(par_id3793450.)

To Hide a Section
セクションを非表示にする(hd_id3148675.38)

  1. Select the text that you want to hide in your document.
    ドキュメント上で、非表示とするテキストを選択します。(par_id3148697.39)

  2. Choose Insert - Section.
    メニュー 挿入 → セクション を選択します。(par_id3153019.9)

  3. In the Hide area, select Hide, and then enter an expression in the Condition box. For example, using the variable you previously defined, enter Hide==1.
    表示しない領域で、非表示を選択し、条件付きボックスに条件式を入力します。たとえば、先に定義した変数を使うなら Hide==1 となります。(par_id3148950.40)

  4. Click Insert.
    挿入をクリックします。(par_id3153636.41)

(embed text/swriter/guide/conditional_text.xhp#conditional_text : linkinfo)

Conditional Text
条件付きテキスト(hd_id3155619.4)

(/embed text/swriter/guide/conditional_text.xhp#conditional_text)

(embed text/swriter/guide/fields_userdata.xhp#fields_userdata : linkinfo)

Querying User Data in Fields or Conditions
ユーザーデータを条件にする(hd_id3153398.59)

(/embed text/swriter/guide/fields_userdata.xhp#fields_userdata)

Displaying Hidden Text
隠しテキストを表示する(par_id3846858.)

Creating Non-printing Text
非印刷テキストを作成する(par_id8148442.)

Insert - Fields - Other
挿入 → フィールド → その他(par_id3148603.10)

Insert - Section
挿入 → セクション(par_id3147011.11)

List of Operators
演算子の一覧(par_id3147029.46)


< Prev / Next >